package cn.iocoder.yudao.module.system.wechat_card.dto.create_card;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class CreateCardDTO implements Serializable {

    @Schema(description = "卡券类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "GENERAL_CARD")
    @NotNull(message = "卡券类型不能为空")
    private String card_type;

    @Schema(description = "general_card", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "general_card不能为空")
    private GeneralCardDTO general_card;

}
